package Sort;

/**
 * Created by sunwei on 2017/9/28
 * Time:13:46
 */
public class PersonSortApp {
    public static void main(String[] args) {
        int maxSize = 100;
        PersonSort personSort = new PersonSort(maxSize);
        personSort.addPerson("zhao", "一曼",12);
        personSort.addPerson("qian", "老大",22);
        personSort.addPerson("sun", "露",32);
        personSort.addPerson("li", "文",42);
        personSort.addPerson("zhou", "雨",52);
        personSort.addPerson("wu", "筱筱",62);
        personSort.addPerson("zheng", "羽纱",72);
        personSort.addPerson("wang", "惜缘",82);
        personSort.addPerson("xia", "筱雪",92);
        personSort.addPerson("shang", "紫云",02);

        //排序前
        System.out.println("排序前：");
        personSort.deployPersons();

        System.out.println("冒泡排序后：");
        personSort.PersonBubbleSort();
        personSort.deployPersons();
//        System.out.println("选择排序后：");
//        personSort.PersonSelectSort();
//        personSort.deployPersons();
//        System.out.println("插入排序后：");
//        personSort.PersonInsertionSort();
//        personSort.deployPersons();


    }
}
